.class final Lcom/brixd/niceapp/util/ShareUtils$1;
.super Ljava/lang/Object;
.source "ShareUtils.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/util/ShareUtils;->share(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/ShareContentCustomizeCallback;Lcn/sharesdk/framework/PlatformActionListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$appModel:Lcom/brixd/niceapp/model/BaseAppModel;

.field final synthetic val$context:Landroid/content/Context;

.field final synthetic val$imageFilePath:Ljava/lang/String;

.field final synthetic val$oks:Lcn/sharesdk/onekeyshare/OnekeyShare;

.field final synthetic val$shareText:Ljava/lang/String;

.field final synthetic val$subTitle:Ljava/lang/String;

.field final synthetic val$title:Ljava/lang/String;


# direct methods
.method constructor <init>(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcn/sharesdk/onekeyshare/OnekeyShare;)V
    .registers 8

    .prologue
    .line 47
    iput-object p1, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$context:Landroid/content/Context;

    iput-object p2, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$appModel:Lcom/brixd/niceapp/model/BaseAppModel;

    iput-object p3, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$title:Ljava/lang/String;

    iput-object p4, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$subTitle:Ljava/lang/String;

    iput-object p5, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$shareText:Ljava/lang/String;

    iput-object p6, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$imageFilePath:Ljava/lang/String;

    iput-object p7, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$oks:Lcn/sharesdk/onekeyshare/OnekeyShare;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 8
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 51
    iget-object v0, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$context:Landroid/content/Context;

    const-string v1, "SocialShareEvernote"

    iget-object v2, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$appModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/BaseAppModel;->getTitle()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$appModel:Lcom/brixd/niceapp/model/BaseAppModel;

    invoke-virtual {v3}, Lcom/brixd/niceapp/model/BaseAppModel;->getId()I

    move-result v3

    # invokes: Lcom/brixd/niceapp/util/ShareUtils;->traceEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V
    invoke-static {v0, v1, v2, v3}, Lcom/brixd/niceapp/util/ShareUtils;->access$000(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;I)V

    .line 53
    iget-object v0, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$context:Landroid/content/Context;

    iget-object v1, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$appModel:Lcom/brixd/niceapp/model/BaseAppModel;

    iget-object v2, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$title:Ljava/lang/String;

    iget-object v3, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$subTitle:Ljava/lang/String;

    iget-object v4, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$shareText:Ljava/lang/String;

    iget-object v5, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$imageFilePath:Ljava/lang/String;

    invoke-static/range {v0 .. v5}, Lcom/brixd/niceapp/util/ShareUtils;->shareToEvernote(Landroid/content/Context;Lcom/brixd/niceapp/model/BaseAppModel;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 54
    iget-object v0, p0, Lcom/brixd/niceapp/util/ShareUtils$1;->val$oks:Lcn/sharesdk/onekeyshare/OnekeyShare;

    invoke-virtual {v0}, Lcn/sharesdk/onekeyshare/OnekeyShare;->finish()V

    .line 56
    return-void
.end method
